package com.wzy.es.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "movie", type = "_doc")
public class Movie {
    private String id;
    private String title;
    private String[] genre;
    private long year;
}
